Importing Catalog Structure
The user is also able to import complete Catalogs from a file. This may be a more practical way to create large Catalogs.
Steps 1 and 2 of the 'Create Catalog' flow are the same even when creating a Catalog through import. But once they are complete, the Catalog Admin can add Semantic Objects and Concepts in bulk through the Import Feature at any point in time. Let’s take a look at how that works.
Step 3. Open Import Popup:
The Import popup can be opened from the Semantic Object list screen as well as from the Concept list screen by clicking the ‘Import File’ icon. The popup will be the same one which allows the user to add new Semantic Objects and Concepts (of those Semantic objects) into the Catalog in either case.


Step 4. Update Catalog Template & Upload:
In this step, the user can first download the template, in case it is not already with them. After that, they can edit the template (except the first row) removing any example rows and adding their own data such as Semantic Object Names, Concept Names etc. Naturally, the user needs to be careful with spelling. Once the template is edited, it is ready to be uploaded as a normal file upload.

Above is an example of a template. Most of the fields are self-explanatory. But let’s just talk about the data_type field. It can be kept blank if the concept data type is not known. But if it is known, please enter one of the following: Int, String, Date, DateTime, Double, Float, Boolean exactly as spelt.
Another column- 'concept_scrubber_type,' which is a kind of cleaner/ validator function is available in OOB and can be applied if the attribute is of a specific type. For example, if the scrubber type = Date is used, it’ll try to standardize all the data for that attribute into a valid Date format.
System Validations
-
Import Rights: We mentioned in the previous section that only a Catalog Admin can add a Semantic Object or Concept. Likewise, only a Catalog Admin can import Semantic Objects and Concepts into the Catalog. Otherwise, the Import option will be disabled.
-
Duplicate Values: The system will ignore duplicate values of Semantic Objects or Concepts in the file and the remaining will be uploaded. For a duplicate Semantic Object, none of the Concepts will be uploaded.
-
Required Values: The system will display errors in the popup on upload if there are missing values for Concept Name or Semantic Object Name in a row.